Skip to content

Conversation

@Bryntet
Copy link
Contributor

@Bryntet Bryntet commented Dec 16, 2025

Adds #[no_link] to the attribute parser, as well as adds tests making sure to FCW warn on field, arm, and macrodef

@rustbot
Copy link
Collaborator

rustbot commented Dec 16, 2025

Some changes occurred in compiler/rustc_attr_parsing

cc @jdonszelmann

Some changes occurred in compiler/rustc_hir/src/attrs

cc @jdonszelmann

Some changes occurred in compiler/rustc_passes/src/check_attr.rs

cc @jdonszelmann

@rustbot rustbot added the A-attributes Area: Attributes (`#[…]`, `#![…]`) label Dec 16, 2025
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 16, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 16, 2025

r? @davidtwco

rustbot has assigned @davidtwco.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 16, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 16, 2025

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@Bryntet Bryntet force-pushed the parse_no_link branch 3 times, most recently from 7cc78cb to d604279 Compare December 16, 2025 21:31
@Bryntet
Copy link
Contributor Author

Bryntet commented Dec 16, 2025

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 16, 2025
Copy link
Contributor

@JonathanBrouwer JonathanBrouwer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me when ci is green :)

View changes since this review

@Kivooeo
Copy link
Member

Kivooeo commented Dec 16, 2025

r=me when ci is green :)

seems like that author is unable to do so without delegate

so, i will do this

@bors r=JonathanBrouwer rollup

@bors
Copy link
Collaborator

bors commented Dec 16, 2025

📌 Commit b09a9d0 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@JonathanBrouwer
Copy link
Contributor

@bors r+ rollup

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 16, 2025
@bors
Copy link
Collaborator

bors commented Dec 16, 2025

💡 This pull request was already approved, no need to approve it again.

@bors
Copy link
Collaborator

bors commented Dec 16, 2025

📌 Commit b09a9d0 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@JonathanBrouwer
Copy link
Contributor

JonathanBrouwer commented Dec 16, 2025

Whoops that's some good timing lol. Thanks for the help!

@Kivooeo
Copy link
Member

Kivooeo commented Dec 16, 2025

Whoops that's some good timing lol

yeah :)

bors added a commit that referenced this pull request Dec 17, 2025
Rollup of 4 pull requests

Successful merges:

 - #150000 (Port `#[rustc_legacy_const_generics]` to use attribute parser )
 - #150060 (autodiff: emit an error if we fail to find libEnzyme)
 - #150070 (Partially revert #147888 and print warning if LLVM CMake dir is missing when building Enzyme)
 - #150072 (Port #[no_link] to use attribute parser)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 656d4e8 into rust-lang:main Dec 17, 2025
11 checks passed
rust-timer added a commit that referenced this pull request Dec 17, 2025
Rollup merge of #150072 - Bryntet:parse_no_link, r=JonathanBrouwer

Port #[no_link] to use attribute parser

Adds `#[no_link]` to the attribute parser, as well as adds tests making sure to FCW warn on `field`, `arm`, and `macrodef `
@rustbot rustbot added this to the 1.94.0 milestone Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants